use TextArea instead of TextEdit for share note field
authorJyrki Gadinger <nilsding@nilsding.org>
Thu, 13 Feb 2025 13:14:30 +0000 (14:14 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 14 Feb 2025 13:23:14 +0000 (13:23 +0000)
commit48c83f4c071bf3e64a6f3b0708813f8a82b287ad
tree5d306aea56c5b2779a2e25e0fc9beae0df887cba
parentf2977ff3ff6ca76df0dd95fcded9ca053d56a150
use TextArea instead of TextEdit for share note field

it's already styled properly as it's part of Qt Quick Controls, **and**
it allows for a placeholder text!

also changed the logic for displaying the text field a bit ...

Fixes #7847

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
resources.qrc
src/gui/filedetails/NCInputTextArea.qml [new file with mode: 0644]
src/gui/filedetails/NCInputTextEdit.qml [deleted file]
src/gui/filedetails/ShareDelegate.qml
src/gui/filedetails/ShareDetailsPage.qml
src/gui/filedetails/ShareView.qml
src/gui/filedetails/sharemodel.cpp
src/gui/filedetails/sharemodel.h
test/testsharemodel.cpp